// 商品准入-待完善
import { PRODUCT_TYPE_OPTIONS } from '@/constants/commodity';
const FORM_ITEM_LIST = [
  {
    prop: 'productNameFinal',
    label: '商品名称',
    type: 'input'
  },
  {
    prop: 'categoryPath',
    label: '分类',
    type: 'input',
  },
  {
    prop: 'spuNo',
    label: 'SPU编码',
    type: 'input',
    searchType: 'EQ'
  },
  {
    prop: 'productType',
    label: '商品类型',
    type: 'select',
    clearable: true,
    options: PRODUCT_TYPE_OPTIONS,
  },
  {
    prop: 'brandName',
    label: '商品品牌',
    type: 'input',
  },
  {
    prop: 'operName',
    label: '提交人',
    type: 'input',
  },
]
const TABLE_COLUMNS = [
  {
    title: '单据编号',
    key: 'recordNo'
  },
  {
    title: '分类',
    key: 'categoryPath'
  },
  {
    title: 'SPU编码',
    key: 'spuNo'
  },
  {
    title: '商品名称',
    key: 'productName'
  },
  {
    title: '品牌',
    key: 'brandName'
  },
  {
    title: '提交人',
    key: 'operName'
  },
  {
    title: '提交部门',
    key: 'operDeptName'
  },
  {
    title: '商品类型',
    key: 'productTypeStr'
  },
  {
    title: '管理区域',
    key: 'manageArea'
  },
  {
    title: '销售属性',
    key: 'saleAttrInfo'
  },
  {
    title: '创建日期',
    key: 'createOpeTime'
  }
]
export {
  FORM_ITEM_LIST,
  TABLE_COLUMNS
}
